package com.qms.repast.entity.resbean;

import java.io.Serializable;
import java.util.List;

/**
 * @author 泅渡者
 * @date 2018/9/25 0025
 * @describe: 首页轮播
 */
public class BannerBean implements Serializable {
    
    private HeaderBean header;
    private BodyBean body;
    
    public HeaderBean getHeader() {
        return header;
    }
    
    public void setHeader(HeaderBean header) {
        this.header = header;
    }
    
    public BodyBean getBody() {
        return body;
    }
    
    public void setBody(BodyBean body) {
        this.body = body;
    }
    
    public static class HeaderBean implements Serializable {
        /**
         * statusCode : 1 errorMsg : {"errorDesc":null,"errorCode":null}
         */
        
        private String statusCode;
        private ErrorMsgBean errorMsg;
        
        public String getStatusCode() {
            return statusCode;
        }
        
        public void setStatusCode(String statusCode) {
            this.statusCode = statusCode;
        }
        
        public ErrorMsgBean getErrorMsg() {
            return errorMsg;
        }
        
        public void setErrorMsg(ErrorMsgBean errorMsg) {
            this.errorMsg = errorMsg;
        }
        
        public static class ErrorMsgBean implements Serializable{
            /**
             * errorDesc : null errorCode : null
             */
            
            private Object errorDesc;
            private Object errorCode;
            
            public Object getErrorDesc() {
                return errorDesc;
            }
            
            public void setErrorDesc(Object errorDesc) {
                this.errorDesc = errorDesc;
            }
            
            public Object getErrorCode() {
                return errorCode;
            }
            
            public void setErrorCode(Object errorCode) {
                this.errorCode = errorCode;
            }
        }
    }
    
    public static class BodyBean implements Serializable {
        /**
         * info : [{"picUrl":"http://qms.oss-cn-beijing.aliyuncs.com/banner34.png","targetType":"1","title":"恭贺全美食与腾讯微保达成战略合作","type":"1","target":"https://mp.weixin.qq.com/s?__biz=MzI3MTQ5NzAxMA==&mid=2247484310&idx=1&sn=ecda62208717f0413d4ed79463f0a520&chksm=eac1a1cbddb628dde63c9d4a7a24f499e983def0c56a681a09636ed7d963dc9aa9ec8257d65f#rd"},{"picUrl":"https://img.qms888.com/photo_1864977449919606787.png","targetType":"1","title":"分享美食、共创未来，299会员活动！","type":"1","target":"https://mp.weixin.qq.com/s/zPUJ1SjyNhVs60znxAD_-w"},{"picUrl":"https://img.qms888.com/photo_9075917168409795453.png","targetType":"1","title":"天天农夫","type":"1","target":"https://mp.weixin.qq.com/s/W-MGl2rSplug_NTdH3vvWA"},{"picUrl":"https://img.qms888.com/photo_83541290339549561.png","targetType":"1","title":"属于吃货的全国5大热门城市旅游攻略","type":"1","target":"https://mp.weixin.qq.com/s/UMGoBm-zR5hIe7Njv6MV7g"}]
         * shareInfo : {"title":"全美食","text":"生活的美味从全美食开始。单单有优惠，单单好滋味。","shareBizType":1,"shareType":5,"url":"https://app.qms888.com/wechat/?from=wechat#/index?s=","imagePath":"http://qms.oss-cn-beijing.aliyuncs.com/qms_logo.png"}
         */
        
        private ShareInfoBean shareInfo;
        private List<InfoBean> info;
        
        public ShareInfoBean getShareInfo() {
            return shareInfo;
        }
        
        public void setShareInfo(ShareInfoBean shareInfo) {
            this.shareInfo = shareInfo;
        }
        
        public List<InfoBean> getInfo() {
            return info;
        }
        
        public void setInfo(List<InfoBean> info) {
            this.info = info;
        }
        
        public static class ShareInfoBean implements Serializable {
            /**
             * title : 全美食 text : 生活的美味从全美食开始。单单有优惠，单单好滋味。 shareBizType : 1 shareType : 5 url :
             * https://app.qms888.com/wechat/?from=wechat#/index?s= imagePath :
             * http://qms.oss-cn-beijing.aliyuncs.com/qms_logo.png
             */
            
            private String title;
            private String text;
            private int shareBizType;
            private int shareType;
            private String url;
            private String imagePath;
            
            public String getTitle() {
                return title;
            }
            
            public void setTitle(String title) {
                this.title = title;
            }
            
            public String getText() {
                return text;
            }
            
            public void setText(String text) {
                this.text = text;
            }
            
            public int getShareBizType() {
                return shareBizType;
            }
            
            public void setShareBizType(int shareBizType) {
                this.shareBizType = shareBizType;
            }
            
            public int getShareType() {
                return shareType;
            }
            
            public void setShareType(int shareType) {
                this.shareType = shareType;
            }
            
            public String getUrl() {
                return url;
            }
            
            public void setUrl(String url) {
                this.url = url;
            }
            
            public String getImagePath() {
                return imagePath;
            }
            
            public void setImagePath(String imagePath) {
                this.imagePath = imagePath;
            }
        }
        
        public static class InfoBean implements Serializable {
            /**
             * picUrl : http://qms.oss-cn-beijing.aliyuncs.com/banner34.png targetType : 1 title :
             * 恭贺全美食与腾讯微保达成战略合作 type : 1 target : https://mp.weixin.qq.com/s?__biz=MzI3MTQ5NzAxMA==&mid=2247484310&idx=1&sn=ecda62208717f0413d4ed79463f0a520&chksm=eac1a1cbddb628dde63c9d4a7a24f499e983def0c56a681a09636ed7d963dc9aa9ec8257d65f#rd
             */
            
            private String picUrl;
            private String targetType;
            private String title;
            private String type;
            private String target;
            
            public String getPicUrl() {
                return picUrl;
            }
            
            public void setPicUrl(String picUrl) {
                this.picUrl = picUrl;
            }
            
            public String getTargetType() {
                return targetType;
            }
            
            public void setTargetType(String targetType) {
                this.targetType = targetType;
            }
            
            public String getTitle() {
                return title;
            }
            
            public void setTitle(String title) {
                this.title = title;
            }
            
            public String getType() {
                return type;
            }
            
            public void setType(String type) {
                this.type = type;
            }
            
            public String getTarget() {
                return target;
            }
            
            public void setTarget(String target) {
                this.target = target;
            }
        }
    }
}
